package com.xxx.yuedong.community.controller.form;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CommentAddNewForm implements Serializable {

    /**
     * 动态ID
     */
    private Long dynamicId;
    /**
     * 评论内容
     */
    @NotNull(message = "正文不能为空")
    private String content;
    /**
     * 回复评论的ID
     */
    private Long parentId;

}
